home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / dmenu1.zip / SAMPLE.MNU < prev    next >
Text File  |  1991-10-15  |  4KB  |  204 lines

  1. ;  Welcome to the dougmenu sample menu
  2. ;  You will probable find this more infomative than the doc's
  3.  
  4. ;anything with a ; in the first column is a comment
  5.  
  6. ;I am not using this feature in this menu, but this is the syntax for it
  7. ;#include = filename
  8.  
  9. ; this deactivates the escape key as a method of leaving the menu
  10. #noexit
  11.  
  12. ; this redefines palette 0 to something ugly
  13. #palette 0 = 0,2,3,4,5,6,7
  14.  
  15. ; turns the menu shadowing on & sets the shadow colors.
  16. ; if the color setting is not done, it will shadow using the default colors
  17. #shadow = 0,8
  18.  
  19. ; sets the cascade feature on with an x of 3 and a y of 1
  20. ; this also sets the default menu placement to the left,top corner.
  21. #cascade = 3,1
  22.  
  23. ;I am not using this feature, but this is the syntax
  24. ;#default placement = 56,4
  25.  
  26. ; sets the default menu palette, etc.
  27. #default palette = 0
  28. #header palette = 8
  29. #error palette = 2
  30. ; this next one is used for displaying text boxes
  31. #message palette = 6
  32.  
  33. ;I am not using these features, but here is the syntax
  34. ;#backdrop color = 0,15
  35. ;#backdrop char = 179
  36. ;#footer color = 0,6
  37. ; the next line will allow a text file to be used as custom back drop
  38. ;#backdrop file = Ascii.txt
  39.  
  40. #timer = 1
  41.   echo the inactivity timer has expired !!
  42.   pause
  43.  
  44. #f1 = Exit
  45.  #exit
  46. #f2 = Color Palettes
  47.   %Color Palette #1
  48. #f3 = Query?
  49.   #ask dumb,Do you reallly want to query?
  50.     "Yes"=Yes
  51.     "No"=No
  52.   echo %dumb%
  53.   pause
  54. #f10 = svm
  55. ;svm is the trident video mode switcher
  56. ;I use this for testing different text modes  ie mda, 132x80
  57.   svm
  58.  
  59. %The Official DougMenu Sample Menu !!!
  60. Loop, Loop, Loop
  61.   %The Official DougMenu Sample Menu !!!
  62. User input
  63.   %User input
  64. Error Testing
  65.   %Error Testing
  66. Display Text
  67. ;the 255's mean to center it w.r.t. x and y 
  68. ;and the 5 selects the color palette
  69.   #display,255,255,5
  70.   this is some text
  71.   that can be displayed
  72.   in its own little box.
  73.   Ya whoo.
  74. Change video modes
  75.   svm
  76. ;svm is the trident video mode switcher
  77.  
  78. Fun Features !
  79. Let's play with the Colors !!
  80.   %Color Palette #1
  81. Let's put some menus in wierd places
  82.   %Yo! Over here!
  83.  
  84. %User input,255,0,3
  85. String Input
  86.   #ask fff,please enter a string,,20
  87.   echo %fff%
  88.   pause
  89. Choice Input
  90.   #ask fff,please select an item,40,13
  91.   "fsdf sdsdf sdff" = 11111111111
  92.   "dsfs sdfsf sdfsd" = 22222222222
  93.   "234234 234234 234" = 3333333333
  94.   "sewr werwer werwe" = 4444444444
  95.   echo %fff%
  96.   pause
  97.  
  98. ; all these menus are illegal on a normal screen 80x25
  99. %Error testing
  100. Nonexistant menu
  101.   %Yeah, Right.
  102. Big menu
  103.   %Big
  104. Empty Menu
  105.   %Noone Home
  106.  
  107. %Noone Home
  108. divider
  109. divider  
  110.  
  111. %big
  112. qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  113.   echo damn big
  114.   pause
  115. eeee
  116.   echo. 
  117.  
  118. %Yo! Over here!,0,50
  119. No; over here!
  120.  %No; over here!
  121.  
  122. %No; over here!,90,40
  123. Keep Moving!
  124.   %Keep Moving!
  125. %Keep Moving!,100,10
  126. Now ther!
  127.  %Now the center!
  128.  
  129. %Now the center!,,,1
  130. Pant Pant Pant !
  131.   #display
  132.   Taa Daaa!
  133.   I could use a rest
  134.  
  135. %Color Palette #1,,,1
  136. Next color
  137.   %Color Palette #2
  138. Filler
  139. Crap Crap
  140.   echo crap
  141.   pause
  142. %Color Palette #2,,,2
  143. Next color
  144.   %Color Palette #3
  145. Filler
  146. Crap Crap
  147.   echo crap
  148.   pause
  149. %Color Palette #3,,,3
  150. Next color
  151.   %Color Palette #4
  152. Filler
  153. Crap Crap
  154.   echo crap
  155.   pause
  156. %Color Palette #4,,,4
  157. Next color
  158.   %Color Palette #5
  159. Filler
  160. Crap Crap
  161.   echo crap
  162.   pause
  163. %Color Palette #5,,,5
  164. Next color
  165.   %Color Palette #6
  166. Filler
  167. Crap Crap
  168.   echo crap
  169.   pause
  170. %Color Palette #6,,,6
  171. Next color
  172.   %Color Palette #7
  173. Filler
  174. Crap Crap
  175.   echo crap
  176.   pause
  177. %Color Palette #7,,,7
  178. Next color
  179.   %Color Palette #8
  180. Filler
  181. Crap Crap
  182.   echo crap
  183.   pause
  184. %Color Palette #8,,,8
  185. Next color
  186.   %Color Palette #9
  187. Filler
  188. Crap Crap
  189.   echo crap
  190.   pause
  191. %Color Palette #9,,,9
  192. Out of colors
  193.   #display
  194.   Sorry,
  195.   but 
  196.   we 
  197.   are
  198.   out of 
  199.   colors. 
  200. Filler
  201. Crap Crap
  202.   echo crap
  203.   pause
  204.